package com.baizhi.springboot.entity;

public class Car {
    /*`id` int(11) NOT NULL AUTO_INCREMENT,
  `plate_number` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,*/
    private Integer id;
    private String plate_number;
    private String type;
    private String comment;

    @Override
    public String toString() {
        return "Car{" +
                "id=" + id +
                ", plate_number='" + plate_number + '\'' +
                ", type='" + type + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPlate_number() {
        return plate_number;
    }

    public void setPlate_number(String plate_number) {
        this.plate_number = plate_number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Car(Integer id, String plate_number, String type, String comment) {
        this.id = id;
        this.plate_number = plate_number;
        this.type = type;
        this.comment = comment;
    }

    public Car() {
    }
}
